package com.centaline.crawler.service.impl;

import com.centaline.crawler.mapper.CityMapper;
import com.centaline.crawler.pojo.City;
import com.centaline.crawler.service.CityService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author: wbzhangzp
 * @date: 2021-05-26 14:19
 */
@Service
public class CityServiceImpl implements CityService {

    @Autowired
    private CityMapper cityMapper;

    @Override
    public void save(City city) {
        cityMapper.save(city);
        // System.out.println("hello");
    }
}
